/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.ufpb.projetoesa.dados;

import br.ufpb.projetoesa.exceptions.AtualizacaoDeTurmaException;
import br.ufpb.projetoesa.exceptions.TurmaInexistenteException;
import br.ufpb.projetoesa.exceptions.TurmaVaziaException;
import br.ufpb.projetoesa.negocio.Turma;
import java.util.List;

/**
 *
 * @author Rennan
 */
public class TurmaDAOTxt implements TurmaDAO {

    private static  TurmaDAOTxt turmaDAO;
    
    private TurmaDAOTxt(){
        //TODO
    }
    
     
    public static TurmaDAO getInstance() {
        if (turmaDAO == null)
            return new TurmaDAOTxt();
        else
            return turmaDAO;
    }

    @Override
    public void insert(Turma turma) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void delete(Turma turma) throws TurmaInexistenteException, TurmaVaziaException {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void update(Turma turma) throws AtualizacaoDeTurmaException {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public Turma findID(String id) throws TurmaInexistenteException {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public int size() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public List getTurmas() {
        throw new UnsupportedOperationException("Not supported yet.");
    }
    
}
